<template>
	<view class="page">
		<image src="../../static/images/paySucIcon.png" mode="widthFix" class="icon"></image>
		<view class="payText">
			充值成功
		</view>
		<view class="btnRow">
			<view class="btn" @click="goPage('/pages/componentsB/topupRecord/topupRecord')" style="margin-right: 30rpx;">
				查看充值记录
			</view>
			<!-- <view class="btn" @click="goPage('/pages/index/index')"> -->
			<view class="btn" @click="goBack()">
				返回
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
			}
		},
		methods: {
			goBack(){
				uni.reLaunch({
					url: '/pages/index/index'
				})
			}
		},
		onLoad() {
			
			
		},
		onShow() {
			
		},
	}
</script>

<style lang="scss" scoped>
.page{
	background-color: #fff;
	height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	.icon{
		width: 300rpx;
		margin: 200rpx 0 100rpx;
	}
	.payText{
		font-size: 60rpx;
		color: #333;
	}
	.btnRow{
		margin-top: 100rpx;
		display: flex;
		justify-content: space-evenly;
		.btn{
			border: 2rpx solid #fa7a3b;
			color: #fa7a3b;
			padding: 15rpx 30rpx;
			border-radius: 40rpx;
			
		}
	}
}
</style>
